package ling.learn.antlr;

import java.io.IOException;
import ling.learn.antlr.delphi.DelphiAnalyzer;

public class DelphiRuner {

  public static void main(String[] args) {

    if (args.length <= 0) {
      return;
    }
    String path = args[0];
    DelphiAnalyzer analyze = new DelphiAnalyzer();

    try {
      analyze.execute(path);
    } catch (IOException e) {
      e.printStackTrace();
    }
  }
}
